package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.domain.po.Teacher;

public interface TeacherService extends IService<Teacher> {
    Teacher saveTeacher(Teacher teacher);
    Teacher getTeacherById(Integer id);
    Teacher updateTeacher(Teacher teacher);
    boolean deleteTeacherById(Integer id);
    Teacher getTeacherByName(String teacherName);
}
